package cn.wancat.pattern.structural.proxy.dymicproxy;


public class Test {
    public static void main(String[] args) {
        Target target = new ConcreteTarget();
        Target proxyFactory = (Target) new ProxyFactory(target).getInstance();
        proxyFactory.save();
    }
}
